CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

SET (CMAKE_CXX_STANDARD 20)

SET(CMAKE_BUILD_TYPE "Release")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3")

AUX_SOURCE_DIRECTORY(./ SRC)
ADD_LIBRARY(fsim ${SRC})

target_link_libraries(fsim time stdc++fs glog usage verilog-parser netlist_manager verilog-vcd-parser numa)